﻿using System;
using VisionCloud.Core.Model.Enums.Schedule;

namespace VisionCloud.Domain.DtoModel.Rs
{
    public class WorkOrderListResponseModel
    {
        /// <summary>
        /// 工单表主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 排查系统工单Id
        /// </summary>
        public string BpsTaskId { get; set; }

        /// <summary>
        /// 排查系统任务类型-FMS定义机器人类型
        /// </summary>
        public string BpsTaskType { get; set; }

        /// <summary>
        /// FMS项目编码
        /// </summary>
        public string FmsProjectId { get; set; }


        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectNo { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcedureCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcedureName { get; set; }

        /// <summary>
        /// 楼栋名称
        /// </summary>
        public string BuildingName { get; set; }

        /// <summary>
        /// 楼层名
        /// </summary>
        public string FloorName { get; set; }

        /// <summary>
        /// 工单状态: 0:未分配、1:未开始、2:已开始、3:已完成
        /// </summary>

        public WorkOrderStatusEnum Status { get; set; }
        
        public string StatusStr { get; set; }

        /// <summary>
        /// 排查系统备注
        /// </summary>
        public string BpsTaskRemark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 测量项目Id
        /// </summary>
        public string ProjectId { get; set; }

        /// <summary>
        /// 来源类型：1内部FMS，2公司创建（默认为1）
        /// </summary>
        public int SourceType { get; set; }
    }
}
